package com.woniu.apartment.service;

import java.util.List;
import com.woniu.apartment.domain.ExchangeRate;

/**
 * 汇率Service接口
 * 
 * @author yy
 * @date 2023-04-03
 */
public interface IExchangeRateService 
{
    /**
     * 查询汇率
     * 
     * @param id 汇率主键
     * @return 汇率
     */
    public ExchangeRate selectExchangeRateById(Long id);

    /**
     * 查询汇率列表
     * 
     * @param exchangeRate 汇率
     * @return 汇率集合
     */
    public List<ExchangeRate> selectExchangeRateList(ExchangeRate exchangeRate);

    /**
     * 新增汇率
     * 
     * @param exchangeRate 汇率
     * @return 结果
     */
    public int insertExchangeRate(ExchangeRate exchangeRate);

    /**
     * 修改汇率
     * 
     * @param exchangeRate 汇率
     * @return 结果
     */
    public int updateExchangeRate(ExchangeRate exchangeRate);

    /**
     * 批量删除汇率
     * 
     * @param ids 需要删除的汇率主键集合
     * @return 结果
     */
    public int deleteExchangeRateByIds(Long[] ids);

    /**
     * 删除汇率信息
     * 
     * @param id 汇率主键
     * @return 结果
     */
    public int deleteExchangeRateById(Long id);
}
